package com.spring.config;

import com.spring.bean.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Description:
 *
 * @author lijie
 * @create 2019-01-16 20:45
 * Update by lijie 2019-01-16 20:45
 */
@PropertySource({"classpath:/person.properties"})
@Configuration
public class MainConfigOfProperty {


    @Bean
    public Person person(){
        return new Person();
    }


}
